package edu.qd.learn.newchapter.chapter03.reflect.demo01.entity;

/**
 * @author 布衣
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 待实例化的类信息
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class BeanInfo {

    public BeanInfo(String beanPath) {
        this.beanPath = beanPath;
    }

    public BeanInfo(String beanName, String beanPath) {
        this.beanName = beanName;
        this.beanPath = beanPath;
    }

    public BeanInfo(Class<?> aClass) {
        this.aClass = aClass;
    }


    //类别名
    String beanName;
    //类的全地址
    String beanPath;

    Class<?> aClass;

}
